This Jupyter Notebook is intended to be an example with some references. Jupyter uses Markdown Syntax and accept LaTeX and HTML codes.
With this, one can easily write bold or italic words. One can also type some code inline or code block like bellow:
import numpy
x = numpy.arange(10)
print x
One can write formulas using LaTeX syntax like $\cos \left( x \right) = \frac{X}{Y}$ or create numerated lists like:
Or unordered lists:
So you can edit your notebook by using HTML syntax also if you want.
Of course, you can run Python Codes too.
In [1]:
import numpy
x = numpy.arange(0, 100, 0.1)
y = numpy.cos(x)
There is a bug on MatPlotLib that does not allow it to run with Jupyter and some backends. When one tries to do some plot, the following error may appear:
In [2]:
import matplotlib.pyplot as plt
plt.plot(x, y)
If something like that happens to you, simply add %matplotlib inline before importing it.
In [2]:
%matplotlib inline
import matplotlib.pyplot as plt
plt.plot(x, y)
Out[2]:
In [ ]: